package com.colin.util.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource(value="classpath:conf/redis.properties")
public class RedisProperties {
    
    @Value("${redssion.host}")
    public String redissonHost;
    
    @Value("${redssion.scanInterval}")
    public int scanInterval;

    @Value("${redssion.password}")
    public String password;
    
}
